const shop_index = () => import ('../../html/shop/shop_index');// 积分商城
const commodity_info = () => import ('../../html/shop/commodity_info');// 商品详情
const exchange = () => import ('../../html/shop/exchange');// 兑换商品
const order_info = () => import ('../../html/shop/order_info');// 兑换商品-订单详情
const exchange_record = () => import ('../../html/shop/exchange_record');// 兑换列表记录（成功/审核）
const ok_exchange = () => import ('../../html/shop/ok_exchange');// 兑换成功
const shop_rule = () => import ('../../html/shop/shop_rule');// 兑换成功

export default[ 
  {
    path: '/shop_index',
    name: 'shop_index',
    meta: {
      keepAlive:true,
      title: '积分商城'
    },
    component: shop_index,
    // meta:{keepAlive:true}
  },
  {
    path: '/commodity_info/:id',
    name: 'commodity_info',
    component: commodity_info,
    meta:{
      // keepAlive:true,
      title:'商品详情'
    }
  },
  {
    path: '/exchange/:id',
    name: 'exchange',
    component: exchange,
    meta:{
      // keepAlive:true,
      title:'立即兑换'
    }
  },
  {
    path: '/order_info',
    name: 'order_info',
    component: order_info,
    // meta:{keepAlive:true}
  },
  {
    path: '/exchange_record',
    name: 'exchange_record',
    component: exchange_record,
    // meta:{keepAlive:true}
  },
  {
    path: '/ok_exchange',
    name: 'ok_exchange',
    component: ok_exchange,
    // meta:{keepAlive:true}
  },
  
  {
    path: '/shop_rule',
    name: 'shop_rule',
    component: shop_rule,
    meta:{
      title: '积分规则'
    }
  },
]
